package fr.esiag.isidis.xmlParse;

import javax.xml.bind.Unmarshaller;

public class JaxbConverterObjects {
	
	
	private Unmarshaller unmarshaller;


	
//	public PointConso unmarshalerPointConso(String fileName)
//	{
//		try {
//			FileInputStream is = new FileInputStream(fileName);
//			JAXBElement<PointConso> element = (JAXBElement<PointConso> )unmarshaller.unmarshal(new StreamSource(is));
//			PointConso retour = element.getValue();
//			return retour;
//		} catch (Exception e) {
//			return null;
//		}
//	}

	
	public Unmarshaller getUnmarshaller() {
		return unmarshaller;
	}

	public void setUnmarshaller(Unmarshaller unmarshaller) {
		this.unmarshaller = unmarshaller;
	}
	
}
